Barcode Xpress for Linux - User Guide > Licensing > Runtime Licensing > Automatically Reported Runtime (Node-Locked) > Server Licensing Utility (SLU) > Command Line Mode |
The Server Licensing Utility can be used in command line mode for obtaining and installing Runtime Licenses.
Usage:
Copy Code
|
|
---|---|
deploy get <configuration file><solution name> [<access key>outputurl]
|
Parameters:
Name | Description |
<configuration file> | Path to the license configuration file. Required. |
<solution name> | Solution name for Runtime Licensing. Required. |
<access key> | Access key for annual Runtime Licensing. Optional. |
outputurl | A flag to output the URL and system Hardware Key that can be used for licensing through the web portal if there is a connectivity error. Optional. |
Result Codes:
Examples:
The following example demonstrates obtaining and installing Runtime License:
Copy Code
|
|
---|---|
java –jar slu.jar deploy get "/Path to/YourSolutionName_Config.txt" "YourSolutionName" |
The following example demonstrates obtaining and installing Runtime License for the provided access key:
Copy Code
|
|
---|---|
java –jar slu.jar deploy get "/Path to/YourSolutionName_Config.txt" "YourSolutionName" Your-Access-Key |
The following example demonstrates obtaining and installing Runtime License with error handling to automatically output URL and system Hardware Key to be used for licensing through the web portal:
Copy Code
|
|
---|---|
java –jar slu.jar deploy get "/Path to/YourSolutionName_Config.txt" "YourSolutionName" outputurl |
Usage:
Copy Code
|
|
---|---|
deploy write <solution name><license key> |
Parameters:
Name | Description |
<solution name> | Solution name for Runtime Licensing. Required. |
<license key> | License key generated through the web portal. Required. |
Result Codes:
Example:
The following example demonstrates installing a Runtime License generated through the web portal:
Copy Code
|
|
---|---|
java –jar slu.jar deploy write "YourSolutionName"2.0.YourDeploymentLicenseKey
|